package com.xja.service;

import com.xja.common.JsonBean;
import com.xja.entity.SysMenu;

/**
 * @author CHENCHEN
 * @company 北京学佳澳教育科技
 * @create 2024-01-11 10:53
 */
public interface SysMenuService {

    JsonBean selectTableList(Integer pId);

    JsonBean selectTreeList();

    JsonBean selectMenuById(Integer id);

    JsonBean insertMenu(SysMenu sysMenu);

    JsonBean updateMenu(SysMenu sysMenu);

    JsonBean deleteById(Integer id);

    JsonBean insertDeptMenu(String ids, Integer deptId);

    JsonBean getMenuByDeptId(Integer deptId);
}
